// 定义修改state变量的方法
import * as types from './mutation-type'

const mutations = {
    // 储存登录用户信息
    [types.SET_USER](state, data) {
        state.user = data
    }
}

export default mutations
